package com.bolang.onlycode.demo.dynamicDatasource;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "people.cv")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class People {
    private String age;
    private String name;
}
